// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VueRouter from "vue-router"
import router from './router'
import Vuex from 'vuex';
import axios from 'axios'
import vuexI18n from 'vuex-i18n';
import './assets/font-awesome/css/font-awesome.css'
Vue.config.productionTip = false

// Vue.use(VueResource);
Vue.use(Vuex);
Vue.prototype.$axios = axios
const store = new Vuex.Store({
  modules: {
    i18n: vuexI18n.store
  }
});

Vue.use(vuexI18n.plugin, store);
Vue.i18n.add('en', translationsEn);
Vue.i18n.set('en');
const translationsEn = {
  "content": "This is some {type} content"
};
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
